from django.db import models

# Create your models here.


class Userinfo(models.Model):
    # 自动添加id为自增主键
    # 权限
    identity = models.JSONField()
    # 名称（应填写真实名称）
    username = models.CharField(max_length=10, unique=True)
    # 密码
    password = models.CharField(max_length=10)
    # 修改日期
    creation_date = models.DateField()
    # 修改人
    creator = models.CharField(max_length=10)
